=master_group_box do
  %table{:width => "100%"}
    %tr
      %td{:colspan => 2}
        %h3 Proposal details
        -titles = [:Requestor, :EmpoweringJurisdiction, :EmpoweredJurisdiction, :CurrentState]
        =zebratable_for [@proposal], titles, {:width => "100%"} do |p|
          =cells_for p.requestor.gpn, 
                     p.empoweringJurisdiction.name, 
                     p.empoweredJurisdiction.name, 
                     p.nice_workflow_state
    %tr 
      %td{:colspan => 2}
        %br
        %h3 Approval details
    %tr
      %td=render :partial => "approver_table", :locals => {:jurisdiction => @proposal.empoweringJurisdiction}
      %td=render :partial => "approver_table", :locals => {:jurisdiction => @proposal.empoweredJurisdiction}
                  
  -if @proposal.workflow_state == :awaiting_final_approval.to_s
    =link_to "Give final approval", approvals_path << "?proposal=#{@proposal.id}", :method => :post              
                
             
                
                
       